#include "SceneModel/BaseModel/Sphere.h"

namespace GCRE {
	namespace SceneModel {

		Sphere::Sphere( const BasicType::SFVec3f& center, BasicType::SFFloat radius ) : 
		m_Center( center ), m_Radius( radius )
		{

		}

		Sphere::Sphere( const Sphere& sphere )
		{
			m_Center = sphere.m_Center;
			m_Radius = sphere.m_Radius;
		}

		Sphere::Sphere() : 
		m_Center( 0.0F, 0.0F, 0.0F ), m_Radius( 1.0F )
		{

		}

		Sphere& Sphere::operator=( const Sphere& sphere )
		{
			m_Center = sphere.m_Center;
			m_Radius = sphere.m_Radius;
			return *this;
		}

	}
}